﻿using System;
using System.Collections.Generic;
using System.Text;
using DLL.Standard.Infrastructure;

namespace DLL.NetCore.FlushRobot.DB.Entity
{
    public class CRecordStatistic : CNotifyPropertyChanged
    {
        private int _drugCount;
        private int _solventCount;
        private string _drugName;
        private string _drugCode;
        private int _oneDrugUsedTime;
        private int _oneSolventUsedTime;
        private DateTime _flushTime;

        public int DrugCount
        {
            get { return _drugCount; }
            set
            {
                _drugCount = value;
                OnPropertyChanged();
            }
        }

        public int SolventCount
        {
            get { return _solventCount; }
            set
            {
                _solventCount = value;
                OnPropertyChanged();
            }
        }

        public string DrugName
        {
            get { return _drugName; }
            set
            {
                _drugName = value;
                OnPropertyChanged();
            }
        }

        public string DrugCode
        {
            get { return _drugCode; }
            set
            {
                _drugCode = value;
                OnPropertyChanged();
            }
        }

        public int OneDrugUsedTime
        {
            get { return _oneDrugUsedTime; }
            set
            {
                _oneDrugUsedTime = value;
                OnPropertyChanged();
            }
        }

        public int OneSolventUsedTime
        {
            get { return _oneSolventUsedTime; }
            set
            {
                _oneSolventUsedTime = value;
                OnPropertyChanged();
            }
        }

        public DateTime FlushTime
        {
            get { return _flushTime; }
            set
            {
                _flushTime = value;
                OnPropertyChanged();
            }
        }
    }
}